﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, Guid("579822B3-44CD-4786-83E0-AE32BCB9E6B1"), ClassInterface(CShort(0)), TypeLibType(CShort(2))> _
    Public Class GoogleDesktopClass
        Implements IGoogleDesktopEventFactory, GoogleDesktop
        ' Methods
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime)> _
        Public Sub New()
        End Sub
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3F1)> _
        Public Overridable Function CreateEvent(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal component_guid_or_progid As String, <[In](), MarshalAs(UnmanagedType.BStr)> ByVal schema_name As String) As <MarshalAs(UnmanagedType.IDispatch)> Object Implements IGoogleDesktopEventFactory.CreateEvent
        End Function

    End Class
End Namespace

